package gat.dto.res.backgroundUser;

import java.time.LocalDateTime;
import java.util.List;

import org.springframework.validation.annotation.Validated;

import com.bitsun.core.framwork.api.dto.IResponseDto;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色信息表
 *
 * @Author: tmac
 * @Email: tmac
 */
@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class RoleResDto implements IResponseDto {
    private static final long serialVersionUID = 1L;


    /**
     * 主键 int8
     */
    @ApiModelProperty(value = "主键")
    @JsonProperty(index = 0)

    private Long id;
    /**
     * 角色名称 varchar
     */
    @ApiModelProperty(value = "角色名称")
    @JsonProperty(index = 10)

    private String name;
    /**
     * 角色类型 int4
     */
    @ApiModelProperty(value = "角色类型")
    @JsonProperty(index = 20)

    private Integer type;
    /**
     * 角色状态 int4
     */
    @ApiModelProperty(value = "角色状态")
    @JsonProperty(index = 30)

    private Integer status;
    /**
     * 最新修改时间 timestamp
     */
    @ApiModelProperty(value = "最新修改时间")
    @JsonProperty(index = 60)
    private LocalDateTime modifyTime;
    /**
     * 最新修改者姓名 varchar
     */
    @ApiModelProperty(value = "最新修改者姓名")
    @JsonProperty(index = 70)

    private String modifyUserName;
    /**
     * 最新修改者ID int8
     */
    @ApiModelProperty(value = "最新修改者ID")
    @JsonProperty(index = 80)

    private Long modifyUserId;
    /**
     * 创建时间 timestamp
     */
    @ApiModelProperty(value = "创建时间")
    @JsonProperty(index = 90)
    private LocalDateTime createTime;
    /**
     * 创建者姓名 varchar
     */
    @ApiModelProperty(value = "创建者姓名")
    @JsonProperty(index = 100)

    private String createUserName;
    /**
     * 创建者ID int8
     */
    @ApiModelProperty(value = "创建者ID")
    @JsonProperty(index = 110)

    private Long createUserId;
    /**
     * 角色描述 varchar
     */
    @ApiModelProperty(value = "角色描述")
    @JsonProperty(index = 140)

    private String description;


    /**
     * 终端客户编码 varchar
     */
    @ApiModelProperty(value = "终端客户编码")
    @JsonProperty(index = 150)

    private List<Long> permissionIdList;




}






